﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_Default, App_Web_mejledkw" stylesheettheme="default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>
        富士冰山售后管理系统
    </title>
    
    <script type="text/javascript" src="../Admin_Scripts/killMouse.js"></script>

    <script type="text/javascript">
        //
        //防止frameset中的frame页面跳转到登录页面。
        //----------------------------------------------------------------
        if(window.top.length > 0)
        {
            window.top.location = "Default.aspx";
        }
        //----------------------------------------------------------------
        
        //
        //防止模态窗口跳转到登录页面。
        //----------------------------------------------------------------
        if(window.external.dialogTop != undefined)
        {
            alert("您的登录已超时，请注销后重新登录。");
            window.close();
        }
        //----------------------------------------------------------------
    </script>

    <style type="text/css">
        *
        {
            font-size:12px;
            font-family:宋体;
        }
        body
        {
            margin:0px;
            overflow:hidden;
            background-color:ThreeDFace;
        }
        div.frame
        {
            position:absolute;
            text-align:center;
	        top:50%;
	        left:50%;
	        height: 330px;
	        width: 700px;
	        margin-top:-165px;
	        margin-left:-350px;
        }
        div.title
        {
            text-align:center;
            font-family:Arial;
            font-size:30px;
            font-weight:bold;
            margin-bottom:10px;
        }
        div.login
        {
            text-align:center;
            padding:20px;
            background-color:#f8f8f8;
            border:#666666 1px solid;
	        width: 280px;
        }
        .textBox
        {
            padding:2px;
            border:#aaaaaa 1px solid;
            width:150px;
        }
        .dropDownList
        {
            height:24px;
            width:156px;
        }
        .button
        {
            border:#aaaaaa 1px solid;
            vertical-align:bottom;
            height:25px;
            width:60px;
            cursor:hand;
            filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#7777ff, EndColorStr=#dddddd);
        }
        div.alert
        {
            color:#990000;
            margin:0px;
            margin-left:10px;
            margin-right:10px;
            padding:5px;
            padding-bottom:3px;
            border:#999999 1px solid;
            background-color:#e2e2e2;
            height:25px;
            width: 240px;
            text-align:left;
            vertical-align:middle;
        }
	</style>
</head>
<body scroll="no">
    <table width=100%>
    <tr height="100"><td style="width: 200px">&nbsp;</td></tr>
    <tr height="345"><td style="width: 200px">&nbsp;</td>
    <td width="618" height="361">
    <form id="form1" runat="server">
        <asp:Panel ID="Panel1" runat="server" BackImageUrl="~/images/bluebgrfree.jpg" Height="361px" Width="618px">
            <table cellpadding="3px" cellspacing="0px" border="0px">
                    <tr height="180"><td>&nbsp;</td><td>&nbsp;</td></tr>
                    <tr>
                        <td style="color: white; font-family: 隶书; font-size: 14pt; text-align: right; width: 60">
                            &nbsp;&nbsp;登录号&nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="tbLoginId" runat="server" CssClass="textBox" MaxLength="10"></asp:TextBox>
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="tbLoginId" ErrorMessage='“登录ID”不能为空。'
                                Display="None" ID="rfvLoginId"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="color: white; font-family: 隶书; font-size: 14pt; text-align: right; width: 60">
                            &nbsp;&nbsp;密码&nbsp;
                        </td>
                        <td>
                            <asp:TextBox ID="tbPassword" runat="server" CssClass="textBox" MaxLength="10" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="tbPassword" ErrorMessage='“密码”不能为空。'
                                Display="None" ID="rfvPassword"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <!--tr>
                        <td style="color: white; font-family: 隶书; font-size: 14pt; text-align: right; width: 60">
                            &nbsp;&nbsp;风格&nbsp;
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlInterfaceStyle" CssClass="dropDownList" runat="server"></asp:DropDownList></td>
                    </tr-->
                    <tr>
                        <td colspan="2">&nbsp;<input type="hidden" name="ddlInterfaceStyle" value="Default" /></td>
                    </tr>
                    <tr height="30" valign="bottom"><td>&nbsp;</td><td><asp:Button ID="btnLogin" Text="登  录" runat="server" CssClass="button" OnClick="btnLogin_Click" />
                            &nbsp;&nbsp; &nbsp;
                        <input type="reset" value="清  空" class="button"/></td></tr>
                </table>
                <br />
                <div id="divAlertMess" style=" color:white; padding-left:100px;">
                    <asp:Panel ID="panelErrorPassword" runat="server" Visible="False">
                        “登录号”或“密码”错误。</asp:Panel>
                    <asp:Panel ID="panelStaffDisabled" runat="server" Visible="False">
                        此用户已被禁用。</asp:Panel>
                    
                    <asp:ValidationSummary DisplayMode="SingleParagraph" ForeColor="#ffffff" runat="server"
                        ID="vsAll"></asp:ValidationSummary>
                </div>
            </asp:Panel>
            <br />
            <div style="text-align:right;width:618px">欢迎访问公司网站：<a href="http://www.dfbvm.com" target="_blank">http://www.dfbvm.com</a></div>
        </form>
    </td>
    <td width="200"></td>
    </tr>
    <tr><td style="width: 200px" align="center"></td></tr>
    </table>
</body>
</html>
